#ifndef CListQuestion_H
#define CListQuestion_H

#include <QtXml/QtXml>
#include <QVector>
#include "CQuestion.h"
//#include "CTest.h"

class CListQuestion
{

    friend class CTest;

public: //methods
    CListQuestion();
    void addQuestion(CQuestion question);
    CQuestion getQuestion(int n) const;
    CQuestion& operator[] (int n);
    bool delQuestion(int n);
    int count();

private: //members
    QVector<CQuestion> question;
};
#endif
